package com.qidian.permission.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @Author 32郗建狄
 * @Company GX631
 * Time 2023/10/18 20:51
 * Description
 */

public class Permission {

    private List<Permission> children;
    private Long permissionId;
    private String permissionName;
    private String permissionRouter;
    private Integer parent;
    private Long parentId;
    private Date createTime;
    private Date modifyTime;
    private Integer permissionStatus;
    private Long createTimeMilliSeconds;
    private Long modifyTimeMilliSeconds;

    public List<Permission> getChildren() {
        return children;
    }

    public void setChildren(List<Permission> children) {
        this.children = children;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public void setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getPermissionRouter() {
        return permissionRouter;
    }

    public void setPermissionRouter(String permissionRouter) {
        this.permissionRouter = permissionRouter;
    }

    public Integer getParent() {
        return parent;
    }

    public void setParent(Integer parent) {
        this.parent = parent;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getPermissionStatus() {
        return permissionStatus;
    }

    public void setPermissionStatus(Integer permissionStatus) {
        this.permissionStatus = permissionStatus;
    }

    public Long getCreateTimeMilliSeconds() {
        return this.createTime.getTime();
    }

    public void setCreateTimeMilliSeconds(Long createTimeMilliSeconds) {
        this.createTimeMilliSeconds = createTimeMilliSeconds;
    }

    public Long getModifyTimeMilliSeconds() {
        return this.modifyTime.getTime();
    }

    public void setModifyTimeMilliSeconds(Long modifyTimeMilliSeconds) {
        this.modifyTimeMilliSeconds = modifyTimeMilliSeconds;
    }
}
